package com.core.dao;

import java.util.ArrayList;
import java.util.List;

public class AdvertismentDetails {
    
 List<Advertisment> lstAd []=new ArrayList[AdvertismentType.values().length]; 
    
    public List<Advertisment> getAdvertisment(AdvertismentType adType)
    {
	    return lstAd[(adType.getTypeValue())];
	
    }
    
    
    
    
    public enum AdvertismentType
    {
	LEFT(0), RIGHT(1),HEADER(2);
	int typeValue;
	AdvertismentType(int i)
	{
	    this.typeValue=i;
	}
	
	public int getTypeValue()
	{
	    return this.typeValue;
	}
    }

}
